package com.xm.entity;

import lombok.*;

/**
 * 用户信息表
 * @author 康文程
 * @date 2023-12-25 上午 09:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AccountInformation {
    /**
     * 账号信息表编号
     */
    private Integer informationId;
    /**
     * 用户名称
     */
    private String name;
    /**
     * 性别
     */
    private Integer sex;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 地区
     */
    private String region;

    /**
     * 账号表
     */
    private Account account;

    public AccountInformation(Integer informationId, String name) {
        this.informationId = informationId;
        this.name = name;
    }

    public AccountInformation(Integer informationId, String name, String avatar,Account account) {
        this.informationId = informationId;
        this.name = name;
        this.avatar = avatar;
        this.account=account;
    }
}
